#!/usr/bin/env bash
#参数 --restart always 容器发生异常是自动重启
cur_dir=`pwd`
docker stop micro-zookeeper
docker rm micro-zookeeper
docker run -p 2181:2181 --name micro-zookeeper --restart always -d zookeeper:3.4